import axios from 'axios'

// create an axios instance
const service = axios.create({
  baseURL: 'http://ihrm-java.itheima.net' // url = base url + request url
  // withCredentials: true, // send cookies when cross-domain requests
})

export default service
